package com.example.IoCpractice.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2025-01-14
 * Time: 14:39
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "student")
public class StudentConfiguration {
    private String name;
    private Integer age;
    private Integer id;
    private List<String> dbtype;
    private Map<String,String> map;
}
